Time: <%=raw Time.zone.now %>
<% if @env && @params %>
	Location: <%=raw @env['REQUEST_URI'] %> 
	Action: <%=raw @params.delete('action') %> </td> </tr>
	Controller: <%=raw @params.delete('controller') %> </td> </tr>
	Query: <%=raw @env['QUERY_STRING'] %> </td> </tr>
	Method: <%=raw @env['REQUEST_METHOD'] %> </td> </tr>
	SSL: <%=raw @env['SERVER_PORT'].to_i == 443 ? "true" : "false" %>
	Agent: <%=raw @env['HTTP_USER_AGENT'] %>
<% end %>

Backtrace
<%=raw @exception.class %>: <%=raw @exception.message %>

<%=raw @exception.backtrace.to_a.join("</p>\n<p>") %>

<% if @env && @params && @session %>

  Params
  <% @params.each do |key, val| -%>
  * <%=raw key %>: <%=raw val.to_yaml %>
  <% end -%>

  Session
  <% @session.each do |key, val| -%>
  * <%=raw key %>: <%=raw val.to_yaml %>
  <% end -%>

  Environment
  <% @env.each do |key, val| -%>
  * <%=raw key %>: <%=raw val %>
  <% end -%>
<% end %>